#include <dolphin/socket.h>
long SOGetHostID( void );
SOGetHostID() returns the current primary IPv4 address of the
host.
Note: While DHCP or PPPoE host configuration is in
progress, SOGetHostID() returns zero (SO_INADDR_ANY).
None.
The current primary IPv4 address of the host in the network byte order.